<?php
header('Content-Type: text/html; charset=utf-8');
/**
 * @see ZemailGateway.php
 */
require dirname(__FILE__).'/../classes/ZemailGateway.php';

$emailGateway = new ZemailGateway();
if ($emailGateway->connectGateway($_GET))
	echo '<p>The Gateway is connect succesfully!</p>';
else
	echo '<p>The Gateway is failed connect!</p>';

$messageArr = $emailGateway->processRetriveMail();

echo '<br /><pre>';
var_dump($messageArr);
?>
						 